Return to doc.sitecore.com

Valid for Sitecore 5.2, 5.1.1
  RemoveProperty
Prev Next

RemoveProperty deletes a property from the data source.  The method returns True if the operation was successful, False otherwise.  The return value does not indicate whether any items were removed, only if the operation encountered errors.

bool RemoveProperty(
  string name,
  bool isPrefix,
  CallContext context
)

The RemoveProperty method removes the property identified by the name parameter.  The parameter is case-insensitive.  If the isPrefix parameter is set to True, the method removes all properties with names starting with name


Prev Next